@import "../../../assets/css/global";
#join{
  padding: 0 15px 60px 15px;

  .top-bg {
    background: @globalColor;
    height: 120px;
    margin: 0 -15px;
  }
  .block {
    padding: 15px;
    background: #ffffff;
    border-radius: 4px;

    &.knowladge-info {
      position: relative;
      top: -75px;
      margin-bottom: -75px;

      .knowladge-avatar {
        position: absolute;
        top: -35px;
        width: 70px;
        height: 70px;
        border: 2px solid #ffffff;
        border-radius: 100%;
        box-shadow:0px 4px 8px 1px rgba(0,0,0,0.1);
        overflow: hidden;
        image {
          width: 100%;
          height: 100%;
        }
      }
      .title {
        padding-top: 40px;
        font-size: 16px;
        color: #202020;
        font-weight: bold;
        line-height: 22px;
      }
      .desc-box {
        font-size: 13px;
        color:#909090;
        line-height: 20px;
        padding-bottom: 15px;
        .desc {

          .text {
            max-height: 64px;
            overflow: hidden;
            margin: 13px 0;

            &.all {
              max-height: none;
            }
          }
          .all-btn {
            color: @globalColor;
            text-align: right;
          }
        }
      }

      .lord-box {
        display: flex;
        align-content: center;
        padding: 25px 0;

        .img {
          width: 36px;
          height: 36px;
          border-radius: 100%;
          overflow: hidden;
          image {
            width: 100%;
            height: 100%;
          }
        }
        .info {
          flex: 1;
          margin-left: 15px;
          .name {
            font-weight: bold;
            font-size: 14px;
          }
          .time {
            font-size: 11px;
            color: #909090;
          }
        }
      }

      .guest-box {
        .guest-title {
          position: relative;

          .text {
            font-size: 13px;
            color: #4a4a4a;
            position: absolute;
            top: -10px;
            background: #ffffff;
            padding-right: 5px;
          }

        }
        .guest-avatar {
          &.all {
            max-height: none;
          }
          color: #909090;
          font-size: 10px;
          padding-top: 30px;
          max-height: 183px;
          overflow: hidden;
          .item {
            display: inline-block;
            width: 25%;
            text-align: center;
            margin-bottom: 15px;
            image {
              border-radius: 100%;
              width: 44px;
              height: 44px;
            }
          }

        }

        .all-btn {
          font-size: 13px;
          color: @globalColor;
          text-align: right;
          margin-top: 5px;
        }
      }
      .info-box {
        margin-top: 25px;
        padding-top: 20px;

        .info-item {
          position: relative;
          display: inline-block;
          width: 25%;
          text-align: center;
          font-size: 11px;
          color: #909090;
          .line {
            position: absolute;
            height: 16px;
            width: 100%;
            top: 14px;
          }
          .num {
            font-size: 15px;
            color: #4A4A4A;
            font-weight: 500;
          }
        }
      }
    }

    &.notice {
      margin-top: 15px;
      .title {
        display: flex;
        align-items: center;
        padding-bottom: 15px;

        .text {
          font-weight: 500;
          flex: 1;
        }
        .price {
          color: #FF2741;
        }
      }
      .tips {
        margin-top: 15px;
        font-size: 13px;
        color: #909090;
      }
    }
    &.preview {
      margin-top: 15px;
      .title {
        display: flex;
        align-items: center;
        padding-bottom: 15px;

        .text {
          font-weight: 500;
          flex: 1;
        }
        .price {
          color: #FF2741;
        }
      }

      .theme-item {
        padding-bottom: 20px;
        .avatar-box {
          display: flex;
          align-content: center;
          padding: 15px 0;

          .img {
            width: 36px;
            height: 36px;
            border-radius: 100%;
            overflow: hidden;
            image {
              width: 100%;
              height: 100%;
            }
          }
          .info {
            flex: 1;
            margin-left: 15px;
            .name {
              font-weight: bold;
              font-size: 14px;
            }
            .time {
              font-size: 11px;
              color: #909090;
            }
          }
        }

        .img {
          .item__list{
            display: flex;
            flex-wrap: wrap;
            padding: 10px 0 0 0;
            ::after{
              content: "";
              display: block;
              clear: both;
              height: 0;
              overflow: hidden;
              visibility: hidden;
            }
            .img{
              width: 100%;
              image{
                width: 100%;
              }
            }
            .list__li{
              width: 33.33%;
              padding: 1%;

              .more {
                margin: 0 -1%;
              }
              view{
                position: relative;
                width: 100%;
                height: 0;
                overflow: hidden;
                margin: 0;
                padding-bottom: 100%;
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                span{
                  display: block;
                  position: absolute;
                  width: 100%;
                  top: 0;
                  bottom: 0;
                }
              }
            }
          }
        }
        .text {
          color: #202020;
          line-height: 24px;
        }
        .word {
          display: flex;
          align-items: center;
          height: 40px;
          line-height: 40px;
          background: #F8F8F8;
          border-radius: 2px;
          margin-top: 10px;
          .img {
            width: 40px;
            height: 40px;
            border-radius: 2px;
            background: #FB5054;
          }
          .text {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-left: 15px;
            flex: 1;
          }
        }
        .url {
          .edit-link{
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color:#F3F3F3;
            padding:10px;
            position: relative;
            .link-left{
              flex: 1;
              overflow: hidden;
              .title{
                color: #4A4A4A;
                font-size: 12px;
                line-height: 17px;
                padding-bottom: 16px;
              }
              .txt{
                color: #909090;
                font-size: 12px;
                line-height: 17px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
              }
            }
            .link-right{
              width:50px;
              height: 50px;
              background-color: @globalColor;
              line-height: 50px;
              text-align: center;
              span{
                display: inline-block;
                color:#ffffff;
                font-size: 19px;
              }
            }
          }
        }
        .reply-box {
          .ask {
            background: #F8F8F8;
            border-radius: 2px;
            color: #4A4A4A;
            margin-bottom: 10px;
            .text {
              padding: 5px 10px;
            }

          }
        }
      }

    }
  }

  .buy-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 16px;
    text-align: center;
    line-height: 50px;
    height: 50px;
    color: #ffffff;
    background: @globalColor;
    z-index: 1;

    .button {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 50px;
      opacity: 0;
      z-index: 2;
    }
  }
}